package com.dc.business.datacollectbusiness.entity;

import com.dc.business.datacollectbusiness.model.Meterset;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class Meter {
    //点位id
    public Integer meterId;
    //点位设备名
    public String meterName;
    //能源类型
    private String energyType;
    //公司id
    private Integer companyId;
    //厂区id
    private Integer factoryId;
    //车间Id
    private Integer workShopId;
    //生产线Id
    private Integer lineId;
    //设备Id
    private Integer equipmentId;
    //状态
    private String state;
    //创建时间
    private String createTime;
    //修改时间
    private String updateTime;
    //采集器通道编号Id1
    private Integer collectorPassageId1;
    //采集器通道编号Id2
    private Integer collectorPassageId2;
    //采集器通道编号Id3
    private Integer collectorPassageId3;
    //采集器通道编号Id4
    private Integer collectorPassageId4;
    //采集器通道编号Id5
    private Integer collectorPassageId5;
    //设备表号
    private String scheduleNumber;
    //创建者
    private String createBy;
    //修改者
    private String updateBy;
    //通道1数据类型
    private String dataType1;
    //通道2数据类型
    private String dataType2;
    //通道3数据类型
    private String dataType3;
    //通道4数据类型
    private String dataType4;
    //通道5数据类型
    private String dataType5;

    //通道1数据系数
    private String coefficient1;
    //通道2数据系数
    private String coefficient2;
    //通道3数据系数
    private String coefficient3;
    //通道4数据系数
    private String coefficient4;
    //通道5数据系数
    private String coefficient5;

    //通道1的表编号1
    private String scheduleCode1;
    //通道2的表编号2
    private String scheduleCode2;
    //通道3的表编号3
    private String scheduleCode3;
    //通道4的表编号4
    private String scheduleCode4;
    //通道5的表编号5
    private String scheduleCode5;
    //参数个数
    private int meterCodeSum;
    //父级节点
    private String parentNode;




    //点位配置详情
    private List<Meterset> metersets;
    //关联的采集器号
    private String collectNumber;
    //采集器编号
    private String collectorPassageCode;


    //点位数据(表格)
    //起始时间
    private String startTime;
    //结束时间
    private String endTime;
    //计算类型
    private String countType;
    //数据类型
    private String dataTypeA;
    //页码
    private Integer startpage;
    //页面数据个数
    private Integer pagesum;
    //起始数
    private Integer startsum;

    //折线图传时间
    private String times;
    //折线图参数类型
    private String dataType;
    //判断参数是累积值还是消耗值
    private String dt;


}
